export class AuthServiceData {
    public static get getOauth2() {
        return {
            input: undefined,
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/auth/authorization',
            },
        };
    }

    public static get getOauth2Token() {
        return {
            input: 'code',
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/auth/handleCode?code=code',
            },
        };
    }

    public static get signupUser() {
        return {
            input: {
                testData: 'testData',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/users',
            },
        };
    }

    public static get checkOAUth2Token() {
        return {
            input: {
                testData: 'testData',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/authentication/v3/oauth/check_token',
            },
        };
    }

    public static get refreshOauth2Token() {
        return {
            input: {
                testData: 'testData',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/authentication/v3/oauth/token',
            },
        };
    }

    public static get reg() {
        return {
            input: {
                testData: 'testData',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/users',
            },
        };
    }

    public static get getUserInfo() {
        return {
            input: 'userId',
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: undefined,
                url: '/users/userId',
            },
        };
    }

    public static get logout() {
        return {
            input: {
                testData: 'testData',
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {
                        testData: 'testData',
                    },
                    timeout: 60,
                },
                url: '/oauth/logout',
            },
        };
    }

    public static get getToken() {
        return {
            input: {
                captchaKey: 'captchaKey',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: undefined, params: undefined, timeout: 60},
                data: {testData: 'testData'},
                url: '/auth/password?captchaKey=captchaKey',
            },
        };
    }

    public static get getCaptcha() {
        return {
            input: undefined,
            output: {
                config: {headers: undefined, params: undefined, timeout: 60},
                data: undefined,
                url: '/auth/captcha',
            },
        };
    }

    public static get refreshToken() {
        return {
            input: {
                testData: 'testData',
            },
            output: {
                config: {headers: undefined, params: undefined, timeout: 60},
                data: {testData: 'testData'},
                url: '/auth/refresh',
            },
        };
    }

    public static get exchangeSignature() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/token/exchange',
            },
        };
    }

    public static get postMail() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: undefined, onUploadProgress: undefined, params: undefined, timeout: 60},
                data: {testData: 'testData'},
                url: '/mail/code',
            },
        };
    }

    public static get postSMS() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: undefined, onUploadProgress: undefined, params: undefined, timeout: 60},
                data: {testData: 'testData'},
                url: '/sms/code',
            },
        };
    }

    public static get getEnvinfo() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: undefined, params: undefined, timeout: 60},
                url: '/envinfo?product=undefined',
            },
        };
    }
    public static get parseSecretKey() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: undefined, params: undefined, timeout: 60},
                data: {
                    data: {
                        testData: 'testData',
                    },
                },
                url: '/secretkey/parse',
            },
        };
    }
    public static get activate() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: undefined, params: undefined, timeout: 60},
                data: {
                    data: {
                        testData: 'testData',
                    },
                },
                url: '/activate',
            },
        };
    }
    public static get listActivations() {
        return {
            input: {
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/activations?product=undefined',
            },
        };
    }
}
